package com.yspay.sample.config;

public class DirectPayConfig {
	// 合作商家私钥pkcs12证书路径
	// public static final String PATH_PARTER_PKCS12 =
	// "/WEB-INF/cert/pinganyinhang02.pfx";

	// 合作商家私钥pkcs12证书密码
	// public static final String PASSWORD_PARTNER_PKCS12 = "111111";

	// 银盛公钥pkcs12证书路径
	// public static final String PATH_YSEPAY_PUBLIC_CERT =
	// "/WEB-INF/cert/businessgate.cer";

	// rsa算法名
	public static final String RSA_ALGORITHM = "SHA1WithRSA";

	// 签名算法，编码格式(charset)
	public static final String SIGN_ALGORITHM = "RSA";

	// 使用商户自己的私钥签名请求时，采用的字符编码
	public static final String DEFAULT_CHARSET = "GBK";

	// 银盛分配给商家的商户号
	// public static final String PLATFORM_PARTNER_NO = "pinganyinhang02";

	// 公用回传参数(extra_common_param)
	public static final String EXTRA_COMMON_PARAM = "银盛体验支付";

	// 订单说明(subject)
	public static final String SUBJECT = "即时到账";

	// 接口版本(version)
	public static final String VERSION = "3.0";

	// 业务扩展参数(extend_params)
	public static final String EXTEND_PARAMS = "{\"param1\":\"OrderNote\"}";

	// 直连银行信息,直联模式使用,锁定指定的支付方式，目前支持 internetbank
	public static final String PAY_MODE = "internetbank";

	// 直连银行信息,付款方银行账户类型，bank_type非空时，此处必填 corporate
	// 对公账户;personal:对私账户(bank_account_type)
	public static final String BANK_ACCOUNT_TYPE = "personal";

	// 直连银行信息,支持卡类型,bank_type非空时，此处必填debit:借记卡;credit:信用卡(support_card_type)：
	public static final String SUPPORT_CARD_TYPE = "debit";

	// 接口名称(method)
	public static final String METHOD = "ysepay.online.directpay.createbyuser";

	// 收银台Type
	public static final String DIRECTPAY = "directPay";

	// 网银直连Type
	public static final String DIRECTNETBANK = "directNetBank";

	// 收款方银盛支付用户号(seller_id)
	public static final String SELLER_ID = "test_experience";

	// 收款方银盛支付客户名(seller_name)
	public static final String SELLER_NAME = "商户体验";
}
